package com.liang.jiekou.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.liang.jiekou.entity.COPMA;
import com.liang.jiekou.entity.INVMB;
import com.liang.jiekou.mapper.COPMAMapper;
import com.liang.jiekou.service.COPMAService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: LiangPanDeng
 * @Date: 2024/01/17/11:44
 * @Description:    客户基本信息档 接口实现类
 */
@Service
public class COPMAServiceImpl implements COPMAService {
    @Resource
    private COPMAMapper copmaMapper;

    @Override
    public IPage<Map<String, Object>> page(Page<COPMA> page) {

        return copmaMapper.selectAll( page);
    }
}
